package com.xzl.boilerplate.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.Date;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Role {
    String appCode;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date createDate;
    int guid;
    int parentRoleGuid;
    String remark;
    String roleCode;
    String roleName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date updateDate;
}
